home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Presentations / Presentations ’92 / PatchWorks Kit / Examples / MPW Example / Makefile < prev    next >
Encoding:
Makefile  |  1992-05-16  |  2.7 KB  |  107 lines  |  [TEXT/MPS ]

  1. # This makefile was produced at 12:03:04 AM on Sat, May 16, 1992 by
  2. # Makemake version 2.0d29 (9 Jan 90), by Rick Holzgrafe and scott douglass.
  3.  
  4.  
  5. .c.o    ƒ    .c
  6.     {CPlus} {depDir}{default}.c -o {targDir}{default}.c.o {CPlusOptions}
  7.  
  8. CPlusOptions = -mf -b -vtbl0 -i "{PatchWorksIncludes}"
  9.  
  10. .vt.cp.o    ƒ    .vt.cp
  11.     ProcessVTables {depDir}{default}.vt.cp {PVTOptions} ; move -y {default}.vt.cp.o {targDir}
  12.  
  13. PVTOptions = -i "{PatchWorksIncludes}"
  14.  
  15.  
  16. :Objects:    ƒ :
  17.  
  18. TARGETS = Example
  19.  
  20. DOT_H = "{PatchWorksIncludes}QDGlobals.h" Example.h ∂
  21.     "{PatchWorksIncludes}Patch.h" "{PatchWorksIncludes}TestExtension.h" ∂
  22.     "{PatchWorksIncludes}ScalperPatch.h" "{PatchWorksIncludes}Scalper.h"
  23.  
  24. DOT_R = Example.r
  25.  
  26. SRCS = ExtensionHeader.a Example.c Example.vt.cp
  27.  
  28. OBJS = :Objects:ExtensionHeader.a.o :Objects:Example.c.o ∂
  29.     :Objects:Example.vt.cp.o
  30.  
  31. LIBS = "{PatchWorksLib}.o" "{CLibraries}CplusLib.o" "{CLibraries}StdCLib.o" ∂
  32.     "{Libraries}Runtime.o" "{Libraries}Interface.o"
  33.  
  34. RES = Example.r
  35.  
  36. COUNT        = Count
  37. COUNTOPTS    = 
  38. CTAGS        = Ctags
  39. CTAGSOPTS    = -p -local -update
  40. DELETE       = Delete
  41. DELETEOPTS   = -i
  42. FILES        = Files
  43. FILESOPTS    = -l
  44. LIB          = Lib
  45. LIBOPTS      = 
  46. LINK         = Link
  47. LINKOPTS     = 
  48. MAKEFILE     = Makefile
  49. PRINT        = Print
  50. PRINTOPTS    = 
  51. REZ          = Rez
  52. SETFILE      = SetFile
  53. SETFILEOPTS  = -t 'MPST' -c 'MPS '
  54.  
  55.  
  56. COptions = -i "{PatchWorksIncludes}"
  57.  
  58. ROptions = -a
  59.  
  60. Example    ƒƒ {OBJS} {LIBS}
  61.     {LINK} -d -map > Example.LinkMap -d -rt 'INIT' -m ExtensionMain -ra Example=resLocked,resSysHeap -sg Example -o {Targ} ∂
  62.         {OBJS} {LIBS}
  63.  
  64. Example    ƒƒ {RES} ∂
  65.         Example.π.rsrc
  66.     {REZ} {ROptions} -o {Targ} {RES}
  67.  
  68. Example    ƒƒ {OBJS} {LIBS} {RES} ∂
  69.         Example.π.rsrc
  70.     {SETFILE} -t 'INIT' -c 'XMPL' -a B {Targ}
  71.  
  72.  
  73.  
  74. clean    ƒ
  75.     {DELETE} {DELETEOPTS} {OBJS}
  76.  
  77. clobber    ƒ clean
  78.     {DELETE} {DELETEOPTS} {TARGETS}
  79.  
  80. count    ƒ
  81.     {COUNT} {COUNTOPTS} {DOT_H} {DOT_R} {SRCS}
  82.  
  83. files    ƒ
  84.     {FILES} {FILESOPTS} {TARGETS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS} ∂
  85.         Makefile.Header {OBJS}
  86.  
  87. print    ƒ
  88.     {PRINT} {PRINTOPTS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS} Makefile.Header
  89.  
  90. tags    ƒ {DOT_H} {SRCS}
  91.     {CTAGS} {CTAGSOPTS} {C_INCDIRS} {NewerDeps}
  92.  
  93.  
  94.  
  95. :Objects:Example.c.o ƒ ∂
  96.         "{PatchWorksIncludes}ShowIconFamily.h" "{PatchWorksIncludes}QDGlobals.h" ∂
  97.         "{PatchWorksIncludes}Exceptions.h" "{PatchWorksIncludes}Extension.h" ∂
  98.         Example.h "{PatchWorksIncludes}GenericPatch.h" ∂
  99.         "{PatchWorksIncludes}Patch.h" "{PatchWorksIncludes}TestExtension.h" ∂
  100.         "{PatchWorksIncludes}ScalperPatch.h" "{PatchWorksIncludes}Scalper.h"
  101.  
  102. :Objects:Example.vt.cp.o ƒ ∂
  103.         Example.h "{PatchWorksIncludes}GenericPatch.h" ∂
  104.         "{PatchWorksIncludes}Patch.h" "{PatchWorksIncludes}TestExtension.h" ∂
  105.         "{PatchWorksIncludes}Extension.h" "{PatchWorksIncludes}ScalperPatch.h" ∂
  106.         "{PatchWorksIncludes}Scalper.h"
  107.